package com.bolingcavalry.crm.sales.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dto.SalesOrderDTO;
import com.vo.SalesOrderVO;

public interface SalesService {
    Boolean addSelsOrder(SalesOrderDTO salesOrderDTO);

    Boolean updateSalesOrder(SalesOrderDTO salesOrderDTO);

    Boolean deleteSalesOrder(Long id);

    SalesOrderVO getSalesOrder(Long id);

    /**
     * 分页条件查询销售订单
     *
     * @param salesOrderDTO 查询条件
     * @return 分页结果
     */
    IPage<SalesOrderVO> selectPage(SalesOrderDTO salesOrderDTO);
}
